package com.tpp.base.service;

import com.tpp.base.elastic.ItemDto;
import com.tpp.base.vo.*;

import java.util.List;

public interface ItemService {

    List<FloorAndItems> queryFloorItems();

    public ItemDetailVo queryItemDetail(Integer itemId);

    ItemPager queryItemPager(ItemDto itemDto);


    List<ItemRecommendVo> queryTodayRecommend();

    List<ItemRecommendVo> queryToSaleItem();

    List<ItemRecommendVo> queryHotItems(Integer itemTypeId);

    List<ItemRecommendVo> queryItemRecommend(Integer itemTypeId,Integer limit);

    ItemCommentPage queryItemComment(ItemCommentPage itemCommentPage);

    void commitItemComment(AddCommentVo addCommentVo);
}
